//
//  BDOrderFooter.m
//  BeidouMall
//
//  Created by qie on 16/4/14.
//  Copyright © 2016年 qie. All rights reserved.
//

#import "BDOrderFooter.h"

@implementation BDOrderFooter

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

- (IBAction)ButtonTag108Pressed:(UIButton *)sender {
    if ([sender.currentTitle isEqualToString:@"查看物流"]) {
        [_delegate pushToNewViewController:sender name:sender.currentTitle];
    }
}

- (IBAction)ButtonTag109Pressed:(UIButton *)sender {
    if ([sender.currentTitle isEqualToString:@"确认收货"]) {
        [_delegate confirmReceive:sender];
    }
    if ([sender.currentTitle isEqualToString:@"评价"]) {
        [_delegate pushToNewViewController:sender name:sender.currentTitle];
    }
}

@end
